package dletc.Map;

import java.util.TreeMap;

public class TreeMap01 {
	public static void main(String[] args) {
		
		TreeMap<String, Student> treeMap = new TreeMap<>();
		
		treeMap.put("001", new Student("tom",23));
		treeMap.put("004", new Student("tom",23));
		treeMap.put("002", new Student("gavin",24));
		treeMap.put("003", new Student("jack",25));
		
		
		System.out.println(treeMap);
		
	}

}
